package com.sec.etech.process.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

@Data
@TableName("spp_route_rev")
public class SppRouteRev extends ModelBase {

    @TableId("route_rev_id")
    private Long routeRevId;

    private Long partsid;
    /**
     * 计划任务主键
     */
    private Long plantaskid;

    private Long processid;

    @TableField("process_type_id")
    private Long processTypeId;

    @TableField("serial_num")
    private String serialNum;

    @TableField("material_no")
    private String materialNo;

    @TableField("route_name")
    private String routeName;

    private String description;
    //1:'编制中',2:'已完成',3:'已入库',9:'取消'
    private Integer statusid;

    @TableField("curr_ver")
    private Integer currVer;

    private String version;

    @TableField("designer_uid")
    private Long designerUid;
    @TableField("is_template")
    private Integer isTemplate;

    private String attachments;

    private Integer active;
}
